<<<<<<< HEAD
import { Message, Loading } from 'element-ui';

/**
 * 提示文字
 * @param {*} message 提示文字
 * @param {*} type 类型
 */
export const messageFun = (message = "提示", type = "error") => {
  Message({
    message, type
  })
}


/**
 *  loading
 * @param {*} callback 
 */
export const LoadingFun = (callback) => {
  let loadingInstance = Loading.service({
  });
  callback(loadingInstance)
}
=======
import { Message, Loading } from 'element-ui';

/**
 * 提示文字
 * @param {*} message 提示文字
 * @param {*} type 类型
 */
export const messageFun = (message = "提示", type = "error") => {
  Message({
    message, type
  })
}


/**
 *  loading
 * @param {*} callback 
 */
export const LoadingFun = (callback) => {
  let loadingInstance = Loading.service({
  });
  callback(loadingInstance)
}
>>>>>>> 103eb3ad054c9ab96a8d469a8b9b68e43ae3ea0a
